<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the id=main div and all content
 * after.  Calls sidebar-footer.php for bottom widgets.
 *
 * @package WordPress
 * @subpackage wpbootstrap
 * @since wpbootstrap 0.1
 */
?>
		<footer>
		<?php
			/* A sidebar in the footer? Yep. You can can customize
			 * your footer with four columns of widgets.
			 */
		?>
		<?php 
			global $sa_options;
			$sa_settings = get_option( 'sa_options', $sa_options );
		?>		
			
		<?php
			if( $sa_settings['credits'] == 'true' ) : 
		?>
			<div style="float: right">		
					本站采用<a href="http://wpbootstrap.iubenda.com/" rel="generator">wpbootstrap</a>模版,基于
					<a href="http://twitter.github.com/bootstrap/" rel="generator">Twitter Bootstrap</a>版权:
					<a href="http://wordpress.org/" rel="generator">WordPress </a>
			</div>
		
		<?php endif; ?>
		
		<?php
			/* Always have wp_footer() just before the closing </body>
			 * tag of your theme, or you will break many plugins, which
			 * generally use this hook to reference JavaScript files.
			 */
			wp_footer();
		?>
		</footer>
  </div> <!-- /container -->

</body>
</html>